﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WarehouseManager.Model
{
    class HangHoa
    {
        private string maHH;
        private string tenHH;
        private float donGia;
        private string donViTinh;
        private int soLuong;
        private string nhaSX;
        public HangHoa() { }
        public HangHoa(string maHH, string tenHH, float donGia, string donViTinh, int soLuong, string nhaSX)
        {
            this.maHH = maHH;
            this.tenHH = tenHH;
            this.donGia = donGia;
            this.donViTinh = donViTinh;
            this.soLuong = soLuong;
            this.nhaSX = nhaSX;
        }
        public string maHH1 {
            get{return maHH;}
            set{ maHH=value;} 
        }
        public string tenHH1{
            get{ return tenHH;}
            set{tenHH=value;}
        }
        public float donGia1{
            get{ return donGia;}
            set{donGia=value;}
        }
        public string donViTinh1{
            get{ return donViTinh;}
            set{donViTinh=value;}
        }
        public int soLuong1{
            get{ return soLuong;}
            set{soLuong=value;}
        }
        public string nhaSX1{
            get{ return nhaSX;}
            set{nhaSX=value;}
        }
    }
}
